package com.jumi.microservice.enumerate;

import com.jumi.microservice.common.base.dto.AbstractEnum;

/**
 * @author by mazhao
 * @Classname WalletType
 * @Description TODO
 * @Date 2020/7/21 9:13
 */
public enum CpsWalletTypeEnum implements AbstractEnum<Integer> {

//    INCOME_IN(101,"收益入账"),

    //接单费
    ORDER_IN(101, "服务费结算"),

    //差价
    SPREAD_IN(102, "推广费结算"),

//    RECHARGE_IN(103, "充值入账"),

//    SYSTEM_IN(103,"系统入账"),

    SHIPPING_IN(104, "补运费入账"),

//    REFUND_IN(105, "退款订单"),

//    OTHER_IN(106, "其他退款入账"),

    FAIL_WITHDRAW_IN(107, "提现失败"),

    AFTER_SALE_QHTK_IN(108, "售后弃货退款"),

    AFTER_SALE_SHTK_IN(109, "售后收货退款"),
//
    AFTER_SALE_BCK_IN(110, "售后补偿款"),

//    CANCEL_WITHDRAW_IN(111,"取消提现"),
    
//    PAY_OUT(201, "商品下单"),

    WITHDRAW_OUT(202, "提现");

//    WITHDRAW_SUCCESS(203,"提现成功"),

//    SYSTEM_OUT(204, "系统出账"),
//
//    OTHER_OUT(205, "其他出账");


    private int code;
    private String msg;

    CpsWalletTypeEnum(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }


    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    @Override
    public Integer getCode() {
        return this.code;
    }
}
